package birthday;

public class Birthday {
	private Date date;
	private Time time;
	
	public Birthday() {
		super();
	}
	//        Date date = t, Time time = d
	public Birthday(Date date, Time time) {
		super();
		this.date = date;
		this.time = time;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	public Time getTime() {
		return time;
	}
	public void setTime(Time time) {
		this.time = time;
	}
	public void showBirthday() {
		System.out.println("我是生日是:");
		date.showDate();
		time.showTime();
	}
}
